package free;

import java.lang.reflect.Constructor;

public class ObjectTests {
    public  static void main(String[] args) throws Exception{
        Object o1 = new Object();
        Class<?> c1 = Object.class;
        Class<?> c2 = o1.getClass();
        Class<?> c3 = Class.forName("java,lang.Object");
        System.out.println(c1==c2);
        System.out.println(c2==c3);
        Constructor<?> constructor =
                c3.getConstructor();
        Object o2  = constructor.newInstance();
        Object o3 = c3.newInstance();
    }
}
